package com.joker.es.domain;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author lemon
 * @date 2024/12/18 20:36
 **/
@Data
public class SkuInfoEsModel implements Serializable {
    private Integer skuId;
    private Integer spuId;
    private String skuTitle;
    private BigDecimal skuPrice;
    private String skuImg;
    private Long saleCount;
    private Boolean hasStock;
    private Long hasScore;
    private Long brandId;
    private Long catalogId;
    private String brandImg;
    private String brandName;
    private String catalogName;
    private List<Attr> attrs;

    @Data
    public static class Attr {
        private Integer attrId;
        private String attrName;
        private String attrValue;
    }
}
